package com.mindskip.xzs.service.impl;

import com.mindskip.xzs.domain.Level;
import com.mindskip.xzs.repository.BaseMapper;
import com.mindskip.xzs.repository.LevelMapper;
import com.mindskip.xzs.service.LevelService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: xzs
 * @description:
 * @author: zcj
 * @create: 2022-05-01 22:51
 **/

@Service
public class LevelServiceImpl extends BaseServiceImpl<Level> implements LevelService {

    private final LevelMapper levelMapper;


    public LevelServiceImpl(BaseMapper<Level> baseMapper, LevelMapper levelMapper) {
        super(baseMapper);
        this.levelMapper = levelMapper;
    }

    @Override
    public List<Level> getLevelListAll() {
        return levelMapper.getLevelListAll();
    }

    @Override
    public List<Level> getLevelList() {
        return levelMapper.getLevelList();
    }
}
